﻿using System;
namespace Golf.Model
{
	/// <summary>
	/// Golf_ProductType:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Golf_ProductType
	{
		public Golf_ProductType()
		{}
		#region Model
		private int _id;
		private string _typename;
		private int _parentid=0;
		private bool _isparent= true;
		private int _orderid;
		private int _adminid;
		private DateTime _addtime;
		private bool _isshow= true;
		/// <summary>
		/// id
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 分类名称
		/// </summary>
		public string TypeName
		{
			set{ _typename=value;}
			get{return _typename;}
		}
		/// <summary>
		/// 父ID
		/// </summary>
		public int ParentId
		{
			set{ _parentid=value;}
			get{return _parentid;}
		}
		/// <summary>
		/// 是否直接父类 1是0 否
		/// </summary>
		public bool IsParent
		{
			set{ _isparent=value;}
			get{return _isparent;}
		}
		/// <summary>
		/// 排序id
		/// </summary>
		public int OrderId
		{
			set{ _orderid=value;}
			get{return _orderid;}
		}
		/// <summary>
		/// 添加分类管理人id	Golf_Admin表
		/// </summary>
		public int AdminId
		{
			set{ _adminid=value;}
			get{return _adminid;}
		}
		/// <summary>
		/// 添加 分类时间
		/// </summary>
		public DateTime AddTime
		{
			set{ _addtime=value;}
			get{return _addtime;}
		}
		/// <summary>
		/// 是否显示 1显示,0否
		/// </summary>
		public bool IsShow
		{
			set{ _isshow=value;}
			get{return _isshow;}
		}
		#endregion Model

	}
}

